<template>
  <div class="four-network">
    <div class="top-block">
      <div class="top-item">
        <div class="status blue">蓝</div>
        <div class="top-info">
          <div class="count">156件</div>
          <div class="text">一般矛盾纠纷</div>
        </div>
      </div>
      <div class="top-item">
        <div class="status yellow">黄</div>
        <div class="top-info">
          <div class="count">8件</div>
          <div class="text">复杂疑难纠纷</div>
        </div>
      </div>
      <div class="top-item">
        <div class="status red">红</div>
        <div class="top-info">
          <div class="count">3件</div>
          <div class="text">重大矛盾纠纷</div>
        </div>
      </div>
    </div>
    <div class="menu-block">
      <div class="menu-item" v-for="(item,index) in list" :key="index">
        <div class="name">{{item.name}}</div>
        <div class="count">{{item.count}}人</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "FourNetwork",
  data(){
    return{
      list:[{name:'政法干警',count:'17'},{name:'律师团队',count:'5'},{name:'心理专家',count:'3'},{name:'网格调解员',count:'28'},]
    }
  }
}
</script>

<style scoped lang="scss">
.four-network{
  .top-block{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    margin-bottom: 5px;
    .top-item{
      display: flex;
      align-items: center;
      justify-content: center;
      width: calc((100% - 20px) / 3);
      .blue{
        background: #32b4ff;
        box-shadow: #296bfa 0 0 14px;
      }
      .yellow{
        background: #dfb300;
        box-shadow: #dfb300 0 0 14px;
      }
      .red{
        background: #ff4747;
        box-shadow: #ff4747 0 0 14px;
      }
      .status{
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 冷酷体;
        font-size: 23px;
        margin-right: 5px;
      }
      .top-info{
        display: flex;
        flex-direction: column;
        align-items: center;
        .count{
          font-family: 冷酷体;
          font-size: 18px;
          margin-bottom: 4px;
        }
        .text{
          font-size: 12px;
        }
      }
    }
  }
  .menu-block{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    .menu-item{
      width: calc(50% - 10px);
      background: #06213b;
      margin-top: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px 0;
      .name{
        color: #ffffff;
        font-size: 14px;
        margin-right: 10px;
      }
      .count{
        font-family: 冷酷体;
        font-size: 20px;
        color: #32b4ff;
      }
    }
  }
}
</style>
